package com.cn.crmsystem.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "关怀基本数据实体(Care)")
public class Care implements Serializable{

  @Id
  @ApiModelProperty("主键id（不用传值）")
  private Long id;

  @ApiModelProperty("关怀名称")
  private String name;

  @ApiModelProperty("关怀方式 （0：线上）（1：线下）")
  private Long mode;

  @ApiModelProperty("客户id")
  private Long customer_id;

  @ApiModelProperty("关怀时间")
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date programme_time;

  @ApiModelProperty("负责人id")
  private Long user_id;

  @ApiModelProperty("创建人id（不用传值）")
  private Long create_id;

  @ApiModelProperty("创建时间（不用传值）")
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date create_time;

  @ApiModelProperty("关怀预算")
  private double budget;

  @ApiModelProperty("关怀详情")
  private String details;

  @ApiModelProperty("删除状态（0：显示 1：隐藏）（不用传值）")
  private Long delete_state;

  @ApiModelProperty("备注")
  private String remarks;

  @ApiModelProperty("联系人id")
private Integer contacts_id;

  public Integer getContacts_id() {
    return contacts_id;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Long getMode() {
    return mode;
  }

  public void setMode(Long mode) {
    this.mode = mode;
  }

  public Long getCustomer_id() {
    return customer_id;
  }

  public void setCustomer_id(Long customer_id) {
    this.customer_id = customer_id;
  }

  public Date getProgramme_time() {
    return programme_time;
  }

  public void setProgramme_time(Date programme_time) {
    this.programme_time = programme_time;
  }

  public Long getUser_id() {
    return user_id;
  }

  public void setUser_id(Long user_id) {
    this.user_id = user_id;
  }

  public Long getCreate_id() {
    return create_id;
  }

  public void setCreate_id(Long create_id) {
    this.create_id = create_id;
  }

  public Date getCreate_time() {
    return create_time;
  }

  public void setCreate_time(Date create_time) {
    this.create_time = create_time;
  }

  public double getBudget() {
    return budget;
  }

  public void setBudget(double budget) {
    this.budget = budget;
  }

  public String getDetails() {
    return details;
  }

  public void setDetails(String details) {
    this.details = details;
  }

  public Long getDelete_state() {
    return delete_state;
  }

  public void setDelete_state(Long delete_state) {
    this.delete_state = delete_state;
  }

  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  public void setContacts_id(Integer contacts_id) {
    this.contacts_id = contacts_id;
  }

  @Override
  public String toString() {
    return "Care{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", mode=" + mode +
            ", customer_id=" + customer_id +
            ", programme_time=" + programme_time +
            ", user_id=" + user_id +
            ", create_id=" + create_id +
            ", create_time=" + create_time +
            ", budget=" + budget +
            ", details='" + details + '\'' +
            ", delete_state=" + delete_state +
            ", remarks='" + remarks + '\'' +
            '}';
  }
}
